<?php
?>
<script language="javaScript">
  var ret ='<?=$ret?>';
  if(ret=='0'){
	if(window.opener!=null){
		window.opener.location.href='<?=SITE_URL?>user_home.htm';
	}else{
		window.parent.location.href='<?=SITE_URL?>user_home.htm';
	}	
	window.close();
  }else{
	window.close();
  }	  
</script>